package com.example.administrator.familfinalcialmanagement.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Gavin on 2016/8/31.
 */
public class Info implements Serializable{
    /**
     * errcode : 0
     * msg : success
     * result : {"res":[{"isshow":"0","img":"1552721164.png","id":1,"url":"https://www.baidu.com"}]}
     */
    private int errcode;
    private String msg;
    private ResultEntity result;

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public int getErrcode() {
        return errcode;
    }

    public String getMsg() {
        return msg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public static class ResultEntity implements Serializable{
        /**
         * res : [{"isshow":"0","img":"1552721164.png","id":1,"url":"https://www.baidu.com"}]
         */
        private List<ResEntity> res;

        public void setRes(List<ResEntity> res) {
            this.res = res;
        }

        public List<ResEntity> getRes() {
            return res;
        }

        public static class ResEntity implements Serializable{
            /**
             * isshow : 0
             * img : 1552721164.png
             * id : 1
             * url : https://www.baidu.com
             */

            private String isshow;
            private String img;
            private int id;
            private String url;

            public ResEntity(String isshow,String img,int id,String url){
                this.isshow = isshow;
                this.img = img;
                this.id = id;
                this.url = url;
            }

            public void setIsshow(String isshow) {
                this.isshow = isshow;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getIsshow() {
                return isshow;
            }

            public String getImg() {
                return img;
            }

            public int getId() {
                return id;
            }

            public String getUrl() {
                return url;
            }
        }
    }
}
